package com.wochao.web.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wochao.model.entity.LeaseAgreement;
import com.wochao.web.admin.vo.agreement.AgreementQueryVo;
import com.wochao.web.admin.vo.agreement.AgreementVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LeaseAgreementMapper extends BaseMapper<LeaseAgreement> {

    /**
     * 根据条件分页查询租约列表
     *
     * @param page
     * @param queryVo
     * @return
     */
    IPage<AgreementVo> pageQueryAgreement(IPage<AgreementVo> page, AgreementQueryVo queryVo);
}




